class Solution {
public:
    vector<int> printNumbers(int n) {
        // write code here
        int max = 1;
        while (n--)
            max *= 10;
        max -= 1;
        vector<int> v;
        for (int i = 1; i <= max; ++i)
            v.push_back(i);
        return v;
    }
};